home *** CD-ROM | disk | FTP | other *** search
-
- scriptname="$0"
- step="$1"
- keywords="$2"
- pkglist="$3"
-
- # Source in the standard functions library, ccsSetup.sh
- . ccsSetup.sh
-
- doPostExport() {
- grep /bash /etc/shells > /dev/null || {
- echo "/bin/bash" >> /etc/shells
- }
- }
-
- doPostRemove() {
- grep -v /bin/bash /etc/shells > /tmp/shells$$
- cp /tmp/shells$$ /etc/shells
- rm -f /tmp/shells$$
- }
-
- ccs_return_value=0
-
- case "$step" in
- POST_EXPORT) doPostExport ;;
- POST_REMOVE) doPostRemove ;;
- esac
-
- exit $ccs_return_value
-
-